#pragma once
#include "Ball.h"
#include "Stage.h"
#include "ballType.h"
#include <list>

class BallGenerator {

	protected: BallGenerator(Stage* stage);

	protected: BallGenerator();
	
	private: static BallGenerator* instance;
	
	private: Stage* stage;

	public: void setStage(Stage *stage);
			
	public : static BallGenerator* getInstance();

	public : static BallGenerator* getInstance(Stage* stage);

	public:  Ball* getBall();

	public:  Ball* getBall(Stage *sr);
	
	public: virtual ~BallGenerator();
};